<!--充值指南-->
<template>
  <div class="gas-operation-box">
    <PageTitle class="boxTitle" :text="title"></PageTitle>
    <!-- <div class="date-tips">2023-07-04 11:26 发表于重庆</div> -->
    <div class="detailContent con-box">
      <div class="primary-tit title">视频版</div>
      <div class="videoBox">
        <video src="https://cqzr-1318844901.cos.ap-chongqing.myqcloud.com/video/gzh001.mp4" :loop="true"></video>
      </div>
      <div class="primary-tit title">图文版</div>
      <h3>一、微信小程序</h3>
      <b class="b">1、微信小程序搜索“壹品慧缴费”或扫描下方二维码进入“壹品慧缴费”小程序</b>
      <div class="imgContent">
        <img v-for="i in QRCode" :key="i" :src="i" @tap.stop="previewImage(i,QRCode)" />
      </div>
      <b class="b">2、点击“燃气缴费”</b>
      <div class="imgContent">
        <img v-for="i in payFee" :key="i" :src="i" @tap.stop="previewImage(i,payFee)" />
      </div>
      <b class="b">3、输入需要充值的燃气编号</b>
      <div class="imgContent">
        <img v-for="i in number" :key="i" :src="i" @tap.stop="previewImage(i,number)" />
      </div>
      <b class="b">4、选择“物联网表”</b>
      <div class="imgContent">
        <img v-for="i in things" :key="i" :src="i" @tap.stop="previewImage(i,things)" />
      </div>
      <b class="b">5、输入需充值的气量，确认信息无误后点击右下角“立即支付”。<i class="i">注意：如果是有“气量购气”的选项，必须选“气量购气”，如无则默认充值金额。</i></b>
      <div class="imgContent">
        <img v-for="i in topUp" :key="i" :src="i" @tap.stop="previewImage(i,topUp)" />
      </div>
      <h3>二、按键充值上表</h3>
      <b class="b">1、有卡式物联网表</b>
      <div class="imgContent">
        <img v-for="i in internetOfThings01" :key="i" :src="i" @tap.stop="previewImage(i,internetOfThings01)" />
      </div>
      <b class="b">2、无卡式物联网表</b>
      <div class="imgContent">
        <img v-for="i in internetOfThings02" :key="i" :src="i" @tap.stop="previewImage(i,internetOfThings02)" />
      </div>
      <b class="b">3、IC智能卡燃气表。<i class="i">注意：须在营业厅办理缴费充值</i></b>
      <div class="imgContent">
        <img v-for="i in internetOfThings03" :key="i" :src="i" @tap.stop="previewImage(i,internetOfThings03)" />
      </div>
    </div>
    <FooterTel></FooterTel>
  </div>
</template>

<script>
import PageTitle from '../components/pageTitle.vue'
import FooterTel from '../components/footerTel.vue'
export default {
  name: 'Detail',
  components: {
    PageTitle,
    FooterTel
  },
  data () {
    return {
      title: null,
      QRCode: ['https://cqzr-1318844901.cos.ap-chongqing.myqcloud.com/contentImg/gasOperation/QRCode.jpg'],
      payFee: ['https://cqzr-1318844901.cos.ap-chongqing.myqcloud.com/contentImg/gasOperation/payFee.png'],
      number: ['https://cqzr-1318844901.cos.ap-chongqing.myqcloud.com/contentImg/gasOperation/number.png'],
      things: ['https://cqzr-1318844901.cos.ap-chongqing.myqcloud.com/contentImg/gasOperation/things.png'],
      topUp: [
        'https://cqzr-1318844901.cos.ap-chongqing.myqcloud.com/contentImg/gasOperation/topUp01.png',
        'https://cqzr-1318844901.cos.ap-chongqing.myqcloud.com/contentImg/gasOperation/topUp02.png',
      ],
      internetOfThings01: ['https://cqzr-1318844901.cos.ap-chongqing.myqcloud.com/contentImg/gasOperation/internetOfThings01.png'],
      internetOfThings02: ['https://cqzr-1318844901.cos.ap-chongqing.myqcloud.com/contentImg/gasOperation/internetOfThings02.png'],
      internetOfThings03: ['https://cqzr-1318844901.cos.ap-chongqing.myqcloud.com/contentImg/gasOperation/internetOfThings03.png'],
    };
  },
  async onShow () {

  },
  async onLoad (e) {
    var vm = this;
    vm.title = e.title
  },
  created () { },
  methods: {
    previewImage (i, list) {
      this.func.previewImg(i, list)
    }
  },
  mounted () {
    var vm = this;
  },
};
</script>

<style lang="scss" scoped>
@import "../../static/css/module.scss";
.gas-operation-box {
  padding-bottom: 10px;
  .boxTitle {
    margin: 10px 14px;
  }
  .detailContent {
    .imgContent {
      width: auto;
      img {
        width: 100%;
      }
    }
    .videoBox {
      width: 100%;
      height: 200px;
      video {
        width: 100%;
        height: 100%;
      }
    }
  }
  .detailContent,
  .tips {
    padding: 0 18px 20px;
    margin: 14px;
    font-size: 15px;
    line-height: 22px;
    overflow: hidden;
    .title {
      width: 100%;
      height: 30px;
      padding-left: 14px;
      line-height: 30px;
      font-size: 17px;
      font-weight: bold;
      color: #222;
      box-sizing: border-box;
      margin: 10px 0;
    }
  }
}
</style>
